package com.dwxt.cdms.dao.yumeng;

import com.dwxt.cdms.entity.yumeng.LogData;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

public interface LogDataMapper extends Mapper<LogData> {

    int countLogDataDevAndTime(LogData logData);

    int deleteLogDataByCustomerIds(@Param("customerIds") Integer[] customerIds);

    int replaceBindingWatchUser(@Param("customerId") Integer customerId, @Param("deviceIdentity") String deviceIdentity);

    LogData selectLogDataByCustomerIdAndLatest(Integer customerId);
}